IndexWpUsersForSpeed\Indexer A

Total Complexity 63
Dependencies 8
Dependents 6
Total lines 394
Lines of code 269
Logical lines of code 174
Comment lines 69
Methods 26
Properties 2

Methods 26

Method Rating Maintainability Complexity Lines of code
updateIndexRole()
A
45 7 40
maybeIndexEverything()
S
56 7 20
updateEditors()
S
53 6 23
updateUserCounts()
S
56 6 19
getUserCounts()
S
61 4 14
fakeUserCounts()
S
56 3 17
removeIndexRole()
S
60 3 13
writeLog()
S
60 2 12
removeNow()
S
64 2 11
cleanupNow()
S
71 2 6
getInstance()
S
69 2 7
nextDailyTimestamp()
S
67 2 8
getTodayMidnightTimestamp()
S
63 2 10
fake_views_users()
S
63 2 10
getEditors()
S
67 2 8
__clone()
S
91 1 2
getNetworkUserCount()
S
65 1 10
__construct()
S
78 1 3
updateUserCountsForRoleChange()
S
75 1 4
isMetaIndexRoleAvailable()
S
73 1 5
metaIndexRoleFraction()
S
73 1 5
disableAutoRebuild()
S
74 1 5
enableAutoRebuild()
S
69 1 7
getMaxUserId()
S
74 1 4
rebuildNow()
S
81 1 3
__wakeup()
S
80 1 3